feat: kaspa support#8786
Open
rohitsaw115 wants to merge 1 commit into
Open
Conversation
7383a6f to
1a0282b
Compare
ticket: cecho-1071
1a0282b to
436c58d
Compare
mohd-kashif
approved these changes
May 19, 2026
Comment on lines
-45
to
-54
| getChain(): string { | ||
| return this._staticsCoin.name; | ||
| } | ||
| /** | ||
| * Human-readable name for this coin variant. | ||
| * Implemented in each concrete class to avoid runtime name comparisons. | ||
| */ | ||
| abstract getFullName(): string; | ||
|
|
||
| getFamily(): CoinFamily { | ||
| return this._staticsCoin.family; | ||
| } | ||
| /** | ||
| * Whether this is a mainnet or testnet coin. | ||
| * Implemented in each concrete class to avoid runtime name comparisons. | ||
| */ | ||
| protected abstract isMainnet(): boolean; | ||
|
|
||
| getFullName(): string { | ||
| return this._staticsCoin.fullName; |
Contributor
There was a problem hiding this comment.
why these functions are removed?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ticket: cecho-1071
Summary
This PR implements full support for the Kaspa (KASPA) coin in the BitGoJS SDK, including transaction building, per-input Schnorr signing, PSKT (Partially Signed Kaspa Transaction) support, and comprehensive test coverage.
Key changes
PSKT — Kaspa's native PSBT equivalent (src/lib/pskt.ts, 590 lines new)
finalize() — Finalizer promotes partialSigs → finalScriptSig with Kaspa's push-only opcode (0x41 + 64-byte Schnorr sig + sighash type)
Sighash (src/lib/sighash.ts)
Transaction (src/lib/transaction.ts)
TransactionBuilder (src/lib/transactionBuilder.ts)
Tests